home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Macintosh / Lib / comdllrt.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-09  |  550 b   |  24 lines

  1. /* $Id: comdllrt.cpp 1.14 1997/04/04 20:10:23 damien Exp $ */
  2.  
  3. #ifdef _MAC
  4.  
  5. #if defined(qPowerPC) && defined(__MWERKS__)
  6. #include "types.h"
  7. #include <CodeFragments.h>
  8.  
  9. extern "C" {
  10.     void __sinit(void);    /*    (generated by linker)    */
  11.     pascal OSErr __initialize(const CFragInitBlock *theInitBlock);
  12.     pascal void __terminate(void);
  13.     }
  14.  
  15. pascal OSErr __initialize(const CFragInitBlock *theInitBlock) {
  16. #pragma unused (theInitBlock)    
  17.     __sinit();            //    call all static initializers    
  18.     return(noErr);    //    return success to Code Fragment Manager
  19.     }
  20.  
  21. #endif
  22. #endif
  23.  
  24.